package com.itheima.blog.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_label")
@ApiModel(value="TCategory对象", description="博客分类表")
public class Label {
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;
    private Long tagId;
    private Long logId;

}
